package remote.controls
{
	import remote.skins.EmptySkin;
	
	/**
	 * 分隔条
	 * @author 银魂飞雪
	 * @createDate 2011-4-2
	 */
	internal class Rule extends Component
	{
		private var _colors:Array;
		private var _alphas:Array;
		private var _thickness:Array;
		
		public function Rule()
		{
			super();
		}
		
		public function setInfo(colors:Array, alphas:Array, thickness:Array):void
		{
			_colors = colors;
			_alphas = alphas;
			_thickness = thickness;
			draw();
		}
		
		protected function draw():void
		{
			
		}
		
		/**
		 * @inheritDoc 
		 * 
		 */	
		override protected function createSkin():void
		{
			_skin = new EmptySkin();
		}
		/**
		 * 颜色集合 
		 * 
		 */
 		public function get colors():Array
		{
			return _colors;
		}

		public function set colors(value:Array):void
		{
			_colors = value;
		}

		/**
		 * 透明度集合 
		 * 
		 */		
		public function get alphas():Array
		{
			return _alphas;
		}

		public function set alphas(value:Array):void
		{
			_alphas = value;
		}
		/**
		 * 线条粗细集合 
		 * 
		 */
		public function get thickness():Array
		{
			return _thickness;
		}

		public function set thickness(value:Array):void
		{
			_thickness = value;
		}

	}
}